/* =======================================================
   HOST.CSS - AGRO-RESORT (NUEVA IDENTIDAD VISUAL)
   ======================================================= */

/* 1. IMPORTAMOS LAS 3 NUEVAS FUENTES DE GOOGLE FONTS */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&family=Lato:wght@400;700;900&family=Lora:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

/* =======================================================
   1. VARIABLES GLOBALES Y BASE (EL ADN HOST)
   ======================================================= */
:root {
  /* Paleta de Colores Naturaleza Premium */
  --bg-forest: #1a2421;
  --bg-moss: #2c3e36;
  --accent-sand: #d4c4a8;
  --accent-gold: #c0a080;

  --text-light: #f4efe6;
  --text-muted: #a3b1a8;

  /* ASIGNACIÓN DE TIPOGRAFÍAS */
  --font-large: "Lato", serif; /* Textos Grandes / Títulos */
  --font-bold: "Lato", sans-serif; /* Textos en Negrita / Interfaz / Botones */
  --font-small: "Lora", serif; /* Textos Chiquitos / Párrafos */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  /* Por defecto, todo el texto base (chiquito) usará Lora */
  font-family: var(--font-small);
  background-color: var(--bg-forest);
  color: var(--text-light);
  overflow-x: hidden;
  line-height: 1.6;

  /* Textura de Ruido Sutil */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}

a {
  text-decoration: none;
  color: inherit;
}

/* =======================================================
   REGLAS DE TIPOGRAFÍA ESPECÍFICAS
   ======================================================= */

/* TEXTOS GRANDES (Cinzel) - Títulos y números destacados */
h1,
h2,
h3,
h4,
h5,
h6,
.brand-logo,
.text-3d-gold,
.section-title-gold,
.stat-number,
.split-content h2 {
  font-family: var(--font-large);
  font-weight: 700;
}

/* TEXTOS EN NEGRITA / INTERFAZ (Lato) - Botones, Menús, Etiquetas */
.btn-main,
.btn-collab,
.nav-main a,
.badge-gold,
.booking-field label,
.booking-field select,
.booking-field input,
.booking-btn,
.stat-label,
.marquee-text,
.partner-name,
.dest-tag,
.link-gold,
strong,
b {
  font-family: var(--font-bold);
}

/* TEXTOS CHIQUITOS (Lora) - Párrafos y descripciones (ya heredados del body, pero reforzamos) */
p,
.hero-desc,
.section-subtitle,
.eco-card p,
.amenity-item p,
.dest-content p {
  font-family: var(--font-small);
}

/* =======================================================
   (A PARTIR DE AQUÍ CONTINÚA TU CSS NORMAL: 2. HEADER Y NAVEGACIÓN...)
   ======================================================= */

/* =======================================================
   2. HEADER Y NAVEGACIÓN
   ======================================================= */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background: rgba(26, 36, 33, 0.85); /* Verde oscuro translúcido */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 196, 168, 0.1);
}

.brand-logo {
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 4px;
  color: #fff;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-main a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-left: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav-main a:hover,
.nav-main a.active {
  color: var(--accent-sand);
}

.sep {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
}

.btn-main {
  padding: 12px 30px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  border: none;
}

.btn-collab {
  border: 1px solid var(--accent-sand);
  color: var(--accent-sand);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s;
}

.btn-collab:hover {
  background: var(--accent-sand);
  color: var(--bg-forest);
}

/* Titulos Globales */
.section-title-gold {
  text-align: center;
  color: var(--accent-sand);
  font-size: 2.5rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* =======================================================
   3. HERO Y RESERVAS
   ======================================================= */
.host-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 5% 50px;
  overflow: hidden;
  background-color: var(--bg-moss);
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("") center/cover;
  z-index: 1;
  opacity: 0.7;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradiente Verde/Tierra */
  background: linear-gradient(
    180deg,
    rgba(26, 36, 33, 0.7) 0%,
    rgba(15, 20, 18, 0.95) 100%
  );
  z-index: 2;
}

.gold-shape {
  position: absolute;
  background: linear-gradient(135deg, #d4c4a8, #ffffff, #a69b85);
  z-index: 3;
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.6);
  opacity: 0.6;
}

.shape-left {
  top: 0;
  left: 0;
  width: 350px;
  height: 100%;
  clip-path: polygon(0 0, 100% 0, 30% 100%, 0% 100%);
}

.shape-right {
  bottom: 0;
  right: 0;
  width: 450px;
  height: 70%;
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 30% 0);
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.badge-gold {
  background: linear-gradient(135deg, #d4c4a8, #a69b85);
  color: var(--bg-forest);
  padding: 8px 25px;
  border-radius: 50px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.text-3d-gold {
  font-size: clamp(4rem, 12vw, 5rem);
  font-weight: 900;
  margin: 0;
  line-height: 0.9;
  background: linear-gradient(to bottom, #ffffff 0%, #d4c4a8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 1px 0 #a69b85,
    0 3px 0 #8e8470,
    0 5px 0 #736b58,
    0 20px 30px rgba(0, 0, 0, 0.9);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--accent-sand);
  max-width: 600px;
  margin-bottom: 30px;
}

.smart-booking-engine {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 196, 168, 0.2);
  padding: 20px 30px;
  border-radius: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.booking-field {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  text-align: left;
}

.booking-field label {
  color: var(--accent-sand);
  font-size: 0.85rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.booking-field select,
.booking-field input {
  background: rgba(15, 20, 18, 0.7);
  border: 1px solid rgba(212, 196, 168, 0.15);
  color: white;
  padding: 12px 15px;
  border-radius: 10px;
  font-family: "Inter", sans-serif;
  outline: none;
}

.booking-btn {
  background: linear-gradient(135deg, #d4c4a8, #a69b85);
  color: var(--bg-forest);
  border: none;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
  flex: 0 0 auto;
}

/* =======================================================
   4. IMPACTO EN CIFRAS Y MARQUEE
   ======================================================= */
.host-stats {
  background: var(--bg-forest);
  padding: 60px 5%;
  border-bottom: 1px solid rgba(212, 196, 168, 0.1);
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 900;
  background: linear-gradient(to bottom, #ffffff 0%, #d4c4a8 100%);
  -webkit-background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.partners-marquee {
  background: var(--bg-forest);
  padding: 25px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 60px;
  animation: scrollMarquee 25s linear infinite;
}

.marquee-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: bold;
}

.marquee-content i {
  font-size: 1.8rem;
  color: var(--accent-sand);
  opacity: 0.8;
}

.partner-name {
  color: #fff;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* =======================================================
   5. BENTO GRID
   ======================================================= */
.bento-section {
  padding: 100px 5%;
  background: var(--bg-moss);
  background-image: url("");
}

.host-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  grid-auto-rows: minmax(300px, auto);
}

.h-card {
  background: rgba(26, 36, 33, 0.6);
  border: 1px solid rgba(212, 196, 168, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.h-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 196, 168, 0.4);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.4),
    inset 0 0 20px rgba(212, 196, 168, 0.05);
}

.h-card h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.h-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-smart-room {
  grid-column: span 2;
  flex-direction: row;
  align-items: center;
  gap: 30px;
}

.card-smart-room .card-info {
  flex: 1;
}

.card-gastronomy {
  grid-column: span 1;
  justify-content: space-between;
}

.card-agrotourism {
  grid-column: span 2;
  grid-row: span 2;
  background: radial-gradient(circle at bottom right, #2c3e36, #0f1412);
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.card-eco {
  grid-column: span 1;
  justify-content: space-between;
}

.app-mockup {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}

.glass-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--accent-sand);
  padding: 10px 20px;
  border-radius: 50px;
  color: #fff;
  text-align: center;
}

.wireframe-icon {
  font-size: 4rem;
  text-align: right;
  margin-top: 20px;
  background: linear-gradient(135deg, #d4c4a8, #ffffff);
  -webkit-background-clip: text;
  color: transparent;
}

.wireframe-giant {
  font-size: 14rem;
  opacity: 0.8;
  background: linear-gradient(135deg, #d4c4a8, #ffffff);
  -webkit-background-clip: text;
  color: transparent;
}

.card-info-overlay {
  position: absolute;
  bottom: 30px;
  left: 30px;
  right: 30px;
  background: rgba(15, 20, 18, 0.85);
  backdrop-filter: blur(10px);
  padding: 20px;
  border-radius: 15px;
  border: 1px solid rgba(212, 196, 168, 0.2);
}

/* =======================================================
   6. ECOSISTEMA TECNOLÓGICO
   ======================================================= */
.tech-ecosystem {
  padding: 100px 5%;
  background: var(--bg-forest);
  position: relative;
}

.eco-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.eco-center {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(212, 196, 168, 0.2) 0%,
    transparent 70%
  );
  border: 2px dashed var(--accent-sand);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: spinSlow 30s linear infinite;
  position: relative;
  z-index: 2;
}

.eco-center-inner {
  width: 150px;
  height: 150px;
  background: var(--bg-moss);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 30px rgba(212, 196, 168, 0.3);
  animation: spinReverse 30s linear infinite;
}

.eco-center-inner i {
  font-size: 3rem;
  color: var(--accent-sand);
}

.eco-card {
  position: absolute;
  background: rgba(15, 20, 18, 0.9);
  border: 1px solid var(--accent-sand);
  padding: 20px;
  border-radius: 15px;
  width: 260px;
  backdrop-filter: blur(5px);
  z-index: 5;
  transition: transform 0.3s;
}

.eco-card:hover {
  transform: scale(1.05);
}
.eco-card i {
  color: var(--accent-sand);
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.eco-card h4 {
  color: #fff;
  margin-bottom: 5px;
}
.eco-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.eco-top-left {
  top: 5%;
  left: 5%;
}
.eco-top-right {
  top: 5%;
  right: 5%;
}
.eco-bottom-left {
  bottom: 5%;
  left: 5%;
}
.eco-bottom-right {
  bottom: 5%;
  right: 5%;
}

@keyframes spinSlow {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spinReverse {
  100% {
    transform: rotate(-360deg);
  }
}

/* =======================================================
   7. APP SHOWCASE (TELÉFONO CSS)
   ======================================================= */
.app-showcase {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 100px 5%;
  background: var(--bg-moss);
  max-width: 1400px;
  margin: 0 auto;
  gap: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-content {
  flex: 1;
}

.app-features {
  list-style: none;
  margin-bottom: 20px;
}

.app-features li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--text-light);
  font-size: 1.05rem;
}

.app-features span {
  font-weight: bold;
  color: var(--accent-sand);
}
.app-features i {
  color: var(--accent-sand);
  font-size: 1.2rem;
}

.app-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-frame {
  width: 300px;
  height: 580px;
  border: 12px solid #2c3e36;
  border-radius: 40px;
  background: var(--bg-forest);
  padding: 10px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.8),
    0 0 40px rgba(212, 196, 168, 0.15);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background: linear-gradient(180deg, var(--bg-moss) 0%, var(--bg-forest) 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 25px 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ui-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--accent-sand);
  font-weight: bold;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 15px;
  font-size: 1.1rem;
}

.ui-widget {
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid rgba(212, 196, 168, 0.1);
  transition: background 0.3s;
}

.ui-widget:hover {
  background: rgba(212, 196, 168, 0.1);
}
.ui-widget i {
  color: var(--accent-sand);
  font-size: 1.4rem;
}

.ui-btn {
  margin-top: auto;
  background: linear-gradient(135deg, #d4c4a8, #a69b85);
  color: var(--bg-forest);
  text-align: center;
  padding: 18px;
  border-radius: 15px;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* =======================================================
   8. AMENITIES Y SPLIT SECTION
   ======================================================= */
.amenities-section {
  padding: 80px 5%;
  background: var(--bg-moss);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.amenity-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.amenity-item i {
  font-size: 2rem;
  color: var(--accent-sand);
  width: 40px;
  text-align: center;
}
.amenity-item h4 {
  color: #fff;
  font-size: 1.1rem;
}
.amenity-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.split-section {
  display: flex;
  height: 70vh;
  width: 100%;
  overflow: hidden;
}

.split-side {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: flex 0.5s ease;
  cursor: pointer;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.split-side:hover {
  flex: 1.8;
}

.split-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  filter: grayscale(50%) brightness(0.6);
  transition: filter 0.5s;
}

.split-side:hover .split-bg {
  filter: grayscale(0%) brightness(0.9);
}
.split-bg-b2b {
  background-image: url("");
}
.split-bg-b2c {
  background-image: url("");
}

.split-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px;
  background: rgba(15, 20, 18, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--accent-sand);
  border-radius: 15px;
  max-width: 80%;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.split-side:hover .split-content {
  opacity: 1;
  transform: scale(1.05);
}
.split-content h2 {
  color: var(--accent-sand);
  font-size: 2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.split-content p {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 20px;
}

/* =======================================================
   9. DESTINOS Y FOOTER
   ======================================================= */
.destinations-section {
  padding: 100px 5%;
  background: var(--bg-forest);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.destination-card {
  background: rgba(44, 62, 54, 0.4);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: transform 0.3s;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.destination-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-sand);
}

.dest-img {
  height: 280px;
  width: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.dest-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--accent-sand);
  color: var(--bg-forest);
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.8rem;
}

.dest-content {
  padding: 30px;
}
.dest-content h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.5rem;
}
.dest-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.link-gold {
  color: var(--accent-sand);
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.85rem;
}

footer {
  text-align: center;
  padding: 30px;
  background: var(--bg-moss);
  border-top: 1px solid rgba(212, 196, 168, 0.1);
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* =======================================================
   10. MEDIA QUERIES (RESPONSIVE)
   ======================================================= */
@media (max-width: 900px) {
  .nav-main,
  .sep {
    display: none;
  }

  .smart-booking-engine {
    flex-direction: column;
    align-items: stretch;
  }

  .host-bento-grid {
    grid-template-columns: 1fr;
  }

  .card-smart-room,
  .card-agrotourism,
  .card-gastronomy,
  .card-eco {
    grid-column: span 1;
    grid-row: auto;
    flex-direction: column;
  }

  .gold-shape {
    display: none;
  }
  .wireframe-giant {
    font-size: 8rem;
  }

  .card-info-overlay {
    position: relative;
    bottom: 0;
    left: 0;
    right: 0;
    margin-top: 20px;
  }

  .eco-container {
    height: auto;
    flex-direction: column;
    gap: 20px;
    padding: 40px 0;
  }

  .eco-card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .split-section {
    flex-direction: column;
    height: auto;
  }
  .split-side {
    padding: 60px 20px;
  }

  .app-showcase {
    flex-direction: column;
    text-align: center;
  }

  .app-showcase .section-title-gold,
  .app-showcase .section-subtitle {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .app-features li {
    justify-content: flex-start;
    text-align: left;
  }
}
